home *** CD-ROM | disk | FTP | other *** search
- package com.extensibility.xml;
-
- public class DDMLWriter$UnparsedEntityProxy extends DDMLWriter.DeclProxy {
- // $FF: synthetic field
- final DDMLWriter this$0;
- ExternalGEDeclaration decl;
-
- DDMLWriter$UnparsedEntityProxy(DDMLWriter var1) {
- super((DDMLWriter)null);
- this.this$0 = var1;
- }
-
- DDMLWriter$UnparsedEntityProxy(DDMLWriter var1, ExternalGEDeclaration var2) {
- super((DDMLWriter)null);
- this.this$0 = var1;
- this.setDecl(var2);
- }
-
- void setDecl(ExternalGEDeclaration var1) {
- this.decl = var1;
- super.setDecl(var1);
- }
-
- public void write(SXE var1, boolean var2) {
- var1.writeAttr("Name", this.decl.getName());
- if (this.decl.getPublicID() != null) {
- var1.writeAttr("SystemLiteral", this.this$0.schema.expandPERefs(this.decl.getSystemID().toSource(), this.decl));
- }
-
- if (this.decl.getPublicID() != null) {
- var1.writeAttr("PublicLiteral", this.this$0.schema.expandPERefs(this.decl.getPublicID(), this.decl));
- }
-
- var1.writeAttr("Notation", this.decl.getNotation());
- if (var2) {
- ((DDMLWriter.DeclProxy)this).writeComments(var1);
- }
-
- }
- }
-